package com.xsz.order.enums;

import lombok.Getter;

/**
 * @author zsj
 * @date 2020/6/5 21:09
 * @description 订单状态enum
 */

@Getter
public enum OrderStatus {
    /**
     * Unfinished：未完成
     * OrderAccept：已接单
     * Confirmation：成功下单
     * ProcessingCompletion：加工完成
     * HasBeenDelivered：已送达
     * HasBeenCompleted：已完成
     * Cancelled：已取消
     */
    Unfinished("未完成"),
    OrderAccept("已接单"),
    Confirmation("成功下单"),
    ProcessingCompletion("加工完成"),
    HasBeenDelivered("已送达"),
    HasBeenCompleted("已完成"),
    Cancelled("已取消");

    private String desc;
    OrderStatus(String desc){
        this.desc = desc;
    }
}
